<?php

namespace common\models\shop;

use Yii;

/**
 * This is the model class for table "{{%shop_recommend}}".
 *
 * @property int $id
 * @property int $type_id
 * @property int $store_id
 * @property int $product_id
 * @property int $created_at
 * @property int $updated_at
 */
class ShopRecommend extends \common\db\ActiveRecord {

    /**
     * {@inheritdoc}
     */
    public static function tableName() {
        return '{{%shop_recommend}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules() {
        return [
            [['type_id', 'store_id', 'product_id', 'created_at', 'updated_at'], 'integer'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels() {
        return [
            'id' => 'ID',
            'type_id' => 'Type ID',
            'store_id' => 'Store ID',
            'product_id' => 'Product ID',
            'created_at' => 'Created At',
            'updated_at' => 'Updated At',
        ];
    }

}
